package com.attendance.www.hr.service;

import java.util.List;

import com.attendance.www.hr.beans.DepartmentBean;
import com.attendance.www.hr.beans.DepartmentPageBean;
import com.attendance.www.hr.entitys.Department;
import com.attendance.www.hr.entitys.EmployeeDepartment;

public interface IDepartmentService {
	

	public DepartmentPageBean getDepartmentList(DepartmentBean departmentBean,Integer startNum, Integer pageCount);
	
	public boolean saveDepartment(DepartmentBean departmentBean);

	public boolean updateDepartment(DepartmentBean departmentBean);

	public boolean deleteDepartmentList(Integer DepartmentId);

	public Department getDepartmentByDepartmentId(Integer departmentId);

	public boolean getDepartmentByDepartment(DepartmentBean departmentBean);

	List<DepartmentBean> getDepartmentPageList(DepartmentBean departmentBean);

	List<EmployeeDepartment> getEmployeeDepartmentListByDepartmentId(Integer departmentId);
	
	List<Department> getDepartmentByCorporationId(Integer corporationId);
	List<Department> getDepartmentRoidByPath(Integer corporationId);
}
